package com.tengju.user.application.login.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "PwdChangeDTO", description = "密码变更请求参数对象")
public class PwdChangeDTO {

    @ApiModelProperty("区号")
    @NotNull(message = "区号不能为空")
    private String areaCode;

    @ApiModelProperty("手机号")
    @NotNull(message = "手机号不能为空")
    private String mobile;

    @ApiModelProperty("用户类型 1：用户 2：员工")
    @NotNull(message = "用户类型不能为空")
    private Integer userType;

    @ApiModelProperty("密码变更Token")
    @NotNull(message = "密码变更Token不能为空")
    private String pwdChangeToken;

    @ApiModelProperty("新密码")
    @NotNull(message = "新密码不能为空")
    private String newPassword;

}
